﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kinlo.Drv.Drv.RJShortCirrcuitResult
{
    public class Result
    {
        /// <summary>
        /// 指示访问是否成功
        /// </summary>
        public bool IsSuccess { get; set; }
        /// <summary>
        /// 源数据
        /// </summary>
        public byte[] Data { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErroMessage { get; set; }
    }

    public class Result<T> : Result
    {
        /// <summary>
        /// 结果对象
        /// </summary>
        public T Content { get; set; }
    }
}
